<template>
  <div class="classify-search">
    <div class="header">按分类查找</div>
    <el-row class="classify-content">
      <el-col
        v-for="(classify, index) in classifyList"
        :key="index"
        :span="6"
      >
        {{classify}}
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'ClassifySearch',
  data() {
    return {
      classifyList: [
        '网络博彩',
        '博彩常识',
        '博彩论坛',
        '博彩导航',
        '常见问题',
        '投诉建议',
        '担保Q&A'
      ]
    };
  }
};
</script>

<style lang="less" scoped>
  @import '../../../less/global.less';
  .classify-search {
    border: 1px solid #ddd;
    background-color: #fff;
    .header {
      height: 40px;
      line-height: 40px;
      padding-left: 10px;
      background-color: @mainBgColor;
      color: #fff;
    }
    .classify-content {
      padding: 10px;
      .el-col {
        margin: 5px 0;
        color: #666;
        cursor: pointer;
        &:hover {
          color: @mainBgColor;
        }
      }
    }
  }
</style>
